package moon.voice.service.VoiceOperaHandler;

import moon.voice.entity.VoiceOutput;
import moon.voice.service.VoiceOutPutService;
import org.apache.dubbo.config.annotation.DubboService;
import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.springframework.stereotype.Service;

/**
 *
 */
@Service
@DubboService
@DubboComponentScan(basePackages= {"moon.voice.service.VoiceOperaHandler"})
public class NormalVoiceOperaService implements VoiceOutPutService {


    public VoiceOutput outputVoice(){
        VoiceOutput voiceOutput = new VoiceOutput();
        voiceOutput.setOutputText("test voice");
        return voiceOutput;
    }

    @Override
    public VoiceOutput outputDemo() {
        VoiceOutput voiceOutput = new VoiceOutput();
        voiceOutput.setOutputText("test voice");
        return voiceOutput;
    }
}
